
import com.jme3.system.AppSettings;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author David Zhang
 */
public class Main {
    public static Game app;
    public static AppSettings appSettings;
    
    public static void main(String[] args) throws Exception {
        Logger.getLogger("").setLevel(Level.SEVERE); //Doesnt show errors for testing purposes
        appSettings = new AppSettings(true); //Constructs the settings object
        appSettings.setTitle("Interspace"); //Sets the title of the application
        appSettings.setResolution(1024, 768); //Sets the default resolution
        appSettings.setFullscreen(false);
        app = new Game(); //Creates the main application
        app.setSettings(appSettings); //Sets the settings that were created earlier to the application
        app.setShowSettings(false);
        app.start(); //Runs the application
    }
}